#!/usr/local/bin/php
<?php
$handle = fopen("http://www.yourdomain.com/sql2gmail/sql2gmail.php", "r");
while (!feof($handle)) {
    $buffer = fgets($handle, 4096);
    echo $buffer;
}
fclose($handle);
?> 